text.skipToContent text.skipToNavigation

2D/3D Profile Sensor Technology

2D/3D profile sensors measure objects such as weld seams or glue beads, control the precise position of robots, and check roundness or gap dimensions via laser triangulation. The sensors are compatible with the uniVision software and suitable for use with third-party software thanks to their open interfaces.

What Is a 2D/3D Profile Sensor?

wenglor’s 2D/3D profile sensors enable fast and highly precise measurement of contours and surfaces for various areas of application. Profile sensors work according to the principle of laser triangulation, generating detailed 2D height profiles as well as complete 3D point clouds. Thanks to the non-contact measuring process, the sensors are ideally suited for quality assurance, object detection and robot guidance in industrial production.

2D/3D profile sensors are available in two different performance classes:

MLSL: Precise Resolution in a Compact Housing Design

MLWL: Outstanding Product Quality Thanks to High-Quality Optical Components

wenglor offers the right solution for almost every application: from seamless 360-degree measurement to precise weld seam tracking and locating to micrometer-accurate surface inspection. wenglor’s versatile portfolio includes sensors with multiple measuring ranges, different laser powers and various laser wavelengths. 

MLZL 2D/3D Profile Sensor

The MLZL series is ideal for use on welding robots due to its compact format.

2D/3D Profile Sensors Stainless Steel

Profile sensors with stainless steel housings are used in washdown areas that require intensive cleaning.

2D/3D Profile Sensors for Bending Machines

The wenglor portfolio includes preconfigured, plug-and-play 2D/3D profile sensors for use on bending presses.

The Triangulation Principle

Laser triangulation is an optical measuring principle used in 2D/3D profile sensors for high-precision detection of surface profiles as well as intensity evaluation. To do so, a laser projects a fine line onto the surface of the object. The reflected line is detected at a fixed angle, the so-called triangulation angle, by an integrated camera. Since the image chip (also known as the image sensor) consists of many individual pixels, the laser line appears there as a series of individual image points. Each of these points corresponds to a precise position of the laser line in the image chip.
Animation des Lasertriangulationsprinzips: Ein 2D-/3D-Profilsensor erfasst die Laserlinie auf einem Messobjekt zur Bestimmung des Höhenprofils.

Creating a 2D Height Profile

A 2D/3D profile sensor generates a 2D height profile, also known as a cross-sectional profile, for each measurement. This consists of numerous measuring points arranged next to each other in a line perpendicular to the object’s direction of movement. Each of these points describes the exact distance between the sensor and object surface along the x- and z-axis. Each height value also includes an intensity value. This value provides information on the strength of light reflection and the material or surface properties, e.g., for changing colors, contrasts, degrees of gloss or transparent materials.

Do 2D/3D Profile Sensors Have a Blind Spot?

Yes, 2D/3D profile sensors have a blind spot. This is generally the case for all sensors that work according to the triangulation principle. The blind spot is the area between the sensor’s reference point and the beginning of its measuring range. The decisive factor here is the distance from which the reflected light is mapped to the receiving element (image chip). This is because a measurement can only be taken when the reflected light hits the image chip. Objects that are below the measuring range are not detected and no measured values are output.
Schematische Darstellung von Laseraustritt, Blindbereich und Messbereich eines 2D-/3D-Profilsensors.
Laser output
Blind spot
Measuring range
Blind spot
The quality of a 2D height profile depends on the interaction between the laser, camera and integrated evaluation. The height profile represents the real object geometry only when the laser line is projected precisely, the camera focuses it precisely, and the integrated evaluation interprets it reliably – even on complex or demanding surfaces.
Darstellung der Erstellung einer 3D-Punktwolke aus aufeinanderfolgenden 2D-Höhenprofilen.

From 2D Height Profile to 3D Point Cloud

If the object moves relative to the sensor, for example on a conveyor belt or through a robot guide or actuator, many individual 2D height profiles are created continuously. These are lined up to create a complete three-dimensional representation of the entire object geometry. The 3D point cloud contains the spatial x-, y- and z-coordinates and the corresponding intensity values.

Coordinate System of a 2D/3D Profile Sensor

Koordinatensystem eines 2D-/3D-Profilsensors mit x-, y- und z-Achse zur räumlichen Zuordnung der Messpunkte.
A clear, defined coordinate system is essential for correctly interpreting and further processing the measurement data captured with a 2D/3D profile sensor. It serves as a spatial reference for all recorded data and enables the sensor to be precisely integrated into higher-level systems such as robot or axis systems. Defining the axis facilitates precise alignment, adjustment and calibration of the sensor in three-dimensional space and ensures that the recorded measurement data is correctly assigned and processed.

The coordinate system of the sensor is matched to its field of view. The zero point lies directly on the laser output outside the housing. As a result, the measured values correspond exactly to the real position of the detected object.

Axes at a Glance

x-Axis (Width)

The x-axis runs horizontally along the laser line and defines the width of the captured profile. The associated a-axis describes the rotation around the x-axis, i.e., the sensor’s forward or backward tilt.

y-Axis (Feed Direction)

The y-axis runs in the direction of movement of the object or sensor, typically along a conveyor belt or during scanning. The b-axis represents the rotation around the y-axis and indicates the lateral tilt of the sensor to the left or right.

z-Axis (Height/Distance)

The z-axis points down from the sensor perpendicular to the object and represents the height or the distance between the sensor and surface. The c-axis represents the rotation around the z-axis, i.e., the lateral rotation of the sensor.

Correct Alignment of the 2D/3D Profile Sensor

To achieve exact measurement results, the laser line must be aligned as perpendicularly as possible to the measurement surface. An angle of 90 degrees between the sensor and object surface yields the best results. In this position, the laser light hits the object optimally and the reflected line can be uniformly captured by the camera.

Correct Alignment

Sensor Tilt

The surface’s reflective properties play a key role.

  • A direct, focused reflection occurs on smooth or shiny materials such as metal, glass or coated surfaces. Here, the light is reflected in a similar way to a mirror. In such cases, slightly tilting the sensor can be helpful to deflect reflections from the camera’s field of view and avoid overexposure of the camera chip. Precise adjustment of the angle is crucial.

  • Diffuse reflection occurs on matte, rough or structured surfaces. The light is scattered evenly in many directions, which usually results in more stable signal detection. However, inaccurate alignment and diffuse materials can affect the intensity distribution or measuring accuracy.

For a uniform signal distribution and optimal profile quality, tilting should be avoided if possible. Thanks to their large dynamic range, 2D/3D profile sensors continue to provide reliable measured values even with a slight tilt.

The following applies in general: Even small deviations from the ideal angle can have a positive or negative effect on the signal quality and profile data, depending on the surface properties. Deliberate, application-specific alignment of the sensor is therefore crucial: Vertical where this gives stability, and specifically tilted where reflections are to be avoided or controlled.

Shadowing

Shadowing means that the field of view is completely or partially covered by the object or adjacent structures. As a result, certain areas of the projected laser line are no longer captured by the camera, resulting in incomplete profiles. Shadowing often occurs on edges, steep steps or deep indentations in the object. Even with complex component geometries or significant height differences, shadowing makes the complete detection and evaluation of the object surface more difficult.
Darstellung einer Abschattung beim Lasertriangulationsprinzip durch Kanten oder Vertiefungen eines Messobjekts.

How to Prevent Shadowing?

Shadowing can be avoided by specifically adjusting the object within the sensor’s measuring range.
 

Avoiding Shadows from Edges, Steep Steps and Recesses

If an object is positioned so that edges, steep steps or vertical surfaces protrude directly into the sensor’s field of view, these areas can block other features that could be inspected. A slight rotation or tilting of the object ensures that all relevant surfaces for the sensor remain visible and no important measurement data is obscured.

Components with deep indentations can also cause shadowing of the characteristics to be inspected in the rear of the object. Therefore, when placing the object, make sure that all important surfaces are in the sensor’s field of view.

Shadowing does not represent a measurement error, but a geometrical restriction. A good sensor setup minimizes these constraints and ensures that the entire contour of an object is detected reliably and completely.

Main Components of a 2D/3D Profile Sensor at a Glance

Aufbau eines 2D-/3D-Profilsensors mit Lasermodul, integrierter Kamera und Auswerteeinheit.
Laser module
Integrated evaluation
Integrated camera
The laser module is one of the three most important main components of a 2D/3D profile sensor. It creates a high-precision laser line that is used to capture detailed surface profiles as well as perform height measurements. This is done by extending the laser dot into a line through a series of optical elements. With the help of this precise laser line, the object can be scanned with very high accuracy while even the smallest height differences and surface structures can be detected.
Unlike conventional image processing systems, 2D/3D profile sensors do not require additional illumination. The laser produces a precise laser line with particularly high intensity. As a result, laser triangulation remains stable even in strong ambient light and delivers precise measurement results. Since the laser module is fully integrated into the sensor and mechanically fixed, time-consuming adjustments are unnecessary and there is no potential interference from external light sources.

The performance of the laser module is largely determined by the laser wavelength and laser class.

Laser Wavelength

Lasers with different wavelengths are used depending on the application. This makes it possible to adjust optimally to different surfaces, materials or ambient conditions.

Laser Class

The sensors are available in different laser classes. These indicate the power of the laser and determine how intensely the light is emitted.

Another important component of 2D/3D profile sensors is their integrated camera. It captures the reflected laser line with the highest precision. The camera consists of a high-quality lens and a powerful camera chip that captures light information with pixel accuracy and converts it into digital measurement data. The resolution of the camera, i.e., the number of pixels per profile line, determines the level of detail. The higher the resolution, the finer are the contours, edges and surface features that can be represented.

Factory calibration and mechanical fixing of the camera unit ensure consistent measurement stability while eliminating costly adjustments. The interaction between the laser optics and camera technology thus enables each individual profile point to be precisely determined in three-dimensional space, thus creating a reliable basis for reproducible measurement results.

The integrated evaluation serves as the computing center of the 2D/3D profile sensor. Here, the raw data recorded by the camera is converted into digital measurement data. Due to the interplay of image acquisition, evaluation and interface communication, it is crucial for the performance of in-line measurement systems.

For maximum flexibility, 2D/3D profile sensors have two selectable operation modes designed to meet different requirements, meaning they can be used in any number of applications. Both operating modes access the same powerful hardware platform. Thanks to integrated processors and stable computing architecture, high profile rates and large amounts of data can also be processed and sent reliably.

Operation Mode: Smart Profile Sensor

Operation Mode: Profile Generator

In “Smart Profile Sensor” mode, the entire profile is evaluated directly on the sensor, no additional hardware is required. The profile information collected is analyzed using configurable algorithms. The result is a signal that has already been interpreted and evaluated, such as a distance value, an edge position or a good/bad signal. This prepared profile data can be sent directly to a controller or robot without additional processing and enables seamless integration into existing processes.
In “Profile generator” mode, 2D/3D profile sensors provide a complete two-dimensional height profile. The raw measurement data is sent as a point cloud or profile data stream and processed further by a higher-level analysis module or a PC-based vision system. This mode offers maximum flexibility for complex applications or individual evaluation logics.

Flexibility through a Variety of Interfaces

Depending on the operation mode, various interfaces can be used for seamless integration into a wide range of production environments.

Interfaces in “Smart Profile Sensor” Mode

An Ethernet interface with TCP/IP communication is available for fast connection and reliable communication with PLC systems, robots and other controllers.

Interfaces in “Profile Generator” Mode

Typical interfaces in “Profile Generator” mode are GigE Vision, GenICam, or a Software Development Kit (SDK). This makes it easy to integrate data into standard image processing software or customer-specific applications.

Main Components Explained in Detail: Find Out More!

Detailed information on the laser module, camera and integrated evaluation can be found further down on the page.

Applications of 2D/3D Profile Sensors

Parts measurement

Height inspection

Diameter control

Roundness check

Thickness measurement

Positioning

Weld seam tracking

Weld seam inspection

Gap dimension control

Volume measurement

Angle measurement

Sectors and Industries Which Use 2D/3D Profile Sensors

The requirements in industrial automation are diverse. Whether you are faced with constantly changing weather conditions, intensive cleaning processes, hazardous areas or welding spatter – the wenglor portfolio of 2D/3D profile sensors offers various model variants. These sensors are designed to perform reliably in the harshest conditions, while complying with the technical regulations and quality standards of the industry.
When manufacturing car seats, it is important to ensure that the position of side cushions and spine cushions is identical for each seat. At a test station, car seats are measured from top to bottom with a 2D/3D profile sensor. Contours and filling rates are recorded, symmetries are evaluated and the seams and seat positions, as well as any damage, are detected.

During the production of click parquet, the boards’ quality in terms of geometry has to be assured continuously during operation. However, the milling tools used for this wear out over time, leading to scrap. To reduce this, the lateral edges of the parquet boards are measured to the micrometer by two 2D/3D profile sensors directly after the milling process, and the 2D profile data is processed, visualized and evaluated by a software control unit.

After ice cream cups are filled, it is necessary to check that the attached cardboard lids are present and in the correct position. A 2D/3D profile sensor with IP69K degree of protection uses laser triangulation to detect presence, beaker height and the angle of placed lids over the entire width of production line conveyors. Web-based visualization directly on the system reports the status of the results.

In large logistical centers, the packing volume is of central importance for reducing storage costs, saving filling material and ultimately determining the correct size for the outer packaging. The highest point of the object is determined by a 2D/3D profile sensor before the packaging process. The box is then individually reduced and sealed.

Before maintenance work, such as grinding or milling rails in track beds, can be carried out, both the position of the rails and obstacles such as stones or switches must be detected during operation. Several 2D/3D profile sensors mounted next to each other measure the profile of the track bed in a line. The height profiles are combined and analyzed by software.

In foundries or blast furnaces, steel tubes through which liquid steel passes must be measured with micrometer accuracy for quality control at temperatures of up to 1,300 °C in order to detect their position. A 2D/3D profile sensor which tracks the red-hot tube is installed on the robot arm for this purpose. An appropriate cooling housing enables accurate measurement even at extreme temperatures.

In fully automatic robot welding cells, it is necessary to determine the exact position of joints before the welding process. To do so, a 2D/3D profile sensor is mounted directly in front of the welding torch on the robot, which detects the joint via laser triangulation. The uniVision software determines the guide point and sends it to the control system. A web correction is now carried out using this information and the weld seam is placed.

Laser Module in Detail

How Does a Laser Dot Become a Laser Line?

A laser emits a focused dot beam with a circular cross-section. To create a line from this, the beam is fanned out using special optics consisting of cylinder or Powell lenses. This creates a precise line beam that appears as a clearly defined laser line on the surface of the object.

How Do Cylinder and Powell Lenses Work?

Darstellung der Intensitätsverteilung einer Laserlinie mit einer Zylinderlinse

Cylinder Lenses

The light beam (1) is only broken by a cylindrical lens (2) along one axis, thus creating a line from a circular laser dot. The beam originally emitted by the laser usually has a Gaussian-shaped intensity profile. This means that the intensity is highest in the middle and gradually decreases towards the edges. If this point beam is converted into a line (3) with a cylindrical lens, this uneven intensity distribution is retained. The line is significantly brighter in the middle than at the ends.
Darstellung der Intensitätsverteilung einer Laserlinie mit einer Zylinderlinse

Powell Lenses

A Powell lens (2) is a specially shaped cylindrical lens. It was developed to create a laser line with a uniform intensity distribution (3) from a Gaussian-shaped laser dot (1). Unlike a simple cylindrical lens, the Powell lens deflects the light so that the center of the beam is less intense and the brightness is balanced along the entire line. This creates a laser line with a so-called flat-top profile, which has uniform illumination and no lighter or darker spots along the line.

What Is the Difference Between Normal Light and Laser Light?

Normal Light

Ordinary light, for example from a light bulb, spreads in many directions and consists of many different wavelengths. This creates a light beam whose light spot diameter becomes increasingly diffuse as the distance increases.

Laser Light

Laser light, on the other hand, is highly focused and consists of one wavelength. All light waves are combined in one direction, which enables a small light spot diameter even at great distances.

Light Sources of 2D/3D Profile Sensors

2D/3D profile sensors use a laser because it creates a precise laser line. The wenglor portfolio includes 2D/3D profile sensors with three different light sources: red, blue and UV. These light sources have different wavelengths and yield optimal measurement results with different material properties and surfaces.
 

Laser (Red)

The wavelength of the red laser is 660 nm. 2D/3D profile sensors with red lasers are very versatile and available in different laser classes.


Laser (Blue)

Blue lasers have wavelengths of 405 nm and 450 nm. These sensors are ideal for inspecting semi-transparent plastic objects, high-gloss metal objects and organic objects.

Laser UV/Red

The wavelength of the UV laser is 375 nm. Sensors with UV/red lasers are used to measure transparent objects such as glass disks or floodlights, provided that the surface reflects UV radiation.

Why Are There Different Laser Wavelengths?

Choosing the right laser wavelength is crucial for a 2D/3D profile sensor’s measurement quality and adaptability to different surfaces, materials and applications. The depth of penetration into the material and the sensitivity of the camera chip play an important role here.

 

Depth of Penetration into the Material

The wavelength affects how deeply the laser light penetrates a material before it is scattered or reflected. Short-wave blue light at 405 nm remains stronger on the surface, providing particularly precise results on transparent, semi-permeable or organic materials such as adhesives, rubber or plastics. Longer wavelengths, such as red light at 660 nm or infrared light at 785–850 nm, penetrate deeper and are better suited for dark, diffuse or metallic surfaces.

Camera Chip Sensitivity

Camera chips, also known as image sensors, have different sensitivities to certain wavelengths depending on their design. If the laser wavelength is optimally matched to the sensitivity curve of the camera chip, the signal strength improves significantly. As a result, shorter exposure times can be used with the same laser power, resulting in higher measuring accuracy and lower measurement uncertainty.

The graphic shows the normalized spectral curve of a 2D/3D profile sensor between 400 and 1,000 nm.

Bandpass Filter: Targeted Light Filtering for Stable Measurement Results

Funktionsprinzip eines Bandpassfilters zur Unterdrückung von Fremdlicht.

Bandpass filters are optical filters that are precisely matched to the wavelength of the laser used. They only allow light within this narrow spectral range. All other light components, such as ambient light, external illumination or laser beams of a different wavelength, are filtered out reliably. This significantly improves measurement stability and ensures stable edge detection and precise profile contour capturing – even in highly variable light conditions or bright industrial environments. No additional shielding or light control is required. Bandpass filters are integrated directly into the camera’s optical system.

Avoiding interference when operating multiple sensors in parallel

Modern measuring systems often use several 2D/3D profile sensors that work with different laser colors. Bandpass filters are used to prevent mutual interference between the sensors. 2D/3D profile sensors with red lasers have a red bandpass filter that allows only this light through. Sensors with blue lasers, on the other hand, have a blue bandpass filter that only allows blue laser light through. These filters block the laser beams of the other sensor color so that the signals cannot overlap or interfere.

What Impact Does the Color of the Measured Object Have on the Choice of Laser?

Choosing the right laser wavelength depends not only on the optical properties of the sensor, but also on the reflective properties of the object to be measured. The spectral interaction between the laser light and material surface directly influences the profile quality, exposure time and signal strength.

In general, note: The closer the object color is to the wavelength of the laser used, the more light is reflected and the stronger the feedback signal received by the sensor. A red object reflects red laser light much more efficiently than blue light. The result is shorter exposure times, less noise and more stable profile data. Conversely, a red object with blue laser requires significantly longer exposure times, as it absorbs most of the blue light.
 

In addition to the color, the material surface is also important. Light, matte or diffusely reflective materials behave differently than shiny, dark or transparent objects. The performance of the 2D/3D profile sensor can be significantly improved by matching the laser color with the object material. Even challenging surfaces like rubber, glass, high-gloss metals or organic substances can be detected reliably and precisely.

 

Reflectivity of Red Laser Light on Differently Colored Objects

Red Object

Good reflection of the red laser, feedback is very strong

Blue Object

Weak reflection of the red laser, feedback signal is weak

Black Object

Most of the red laser light is absorbed, feedback is moderate

Reflectivity of blue laser light on differently colored objects

Red Object

Weak reflection of the blue laser, feedback signal is weak

Blue Object

Good reflection of the blue laser, feedback is very strong

Black Object

Most of the blue laser light is absorbed, feedback is medium

Choosing the Right Laser Class for 2D/3D Profile Sensors

To achieve optimal measurement performance with 2D/3D profile sensors, choosing the right laser class is crucial – especially with regard to surface properties, working distance, measurement speed and ambient light. wenglor’s 2D/3D profile sensors are available in various laser classes, enabling precise and reliable adaptation to different application cases.

Speed and exposure time
Higher laser powers generate more intense reflections, resulting in shorter exposure times. This is particularly advantageous for fast processes or moving objects.
Object properties
Dark, absorbent or highly scattered surfaces require more light energy to produce sufficient reflection for a stable measurement. Here, higher laser classes are often the better choice.
Distance to object
As the working distance increases, the intensity of the reflected light decreases. More powerful laser classes ensure reliable measurement even at greater distances.
Ambient light conditions
In bright environments or with ambient light interference, a higher laser power improves the signal-to-noise ration – especially with reflective or shiny materials.

Laser Classes of 2D/3D Profile Sensors

The following generally applies to 2D/3D profile sensors: The higher the laser power, the higher the laser class. This poses a greater risk and requires suitable protective measures. Lasers are classified in accordance with DIN EN 60825–1 “Safety of laser equipment”. The hazard potential is evaluated using the wavelength and output power.

DescriptionSafetyApplication
Laser class 2Laser class 2 has a maximum power of 1 mW and is in the wavelength range between 400 and 700 nm.If the eyes are briefly irradiated, laser radiation is harmless, as the natural protective reflex of the eyelids comes into play.Ideal for sensitive surfaces, short distances and easy integration without protective measures.
Laser class 3RThe power of laser class 3R is between 1 and 5 mW at a wavelength range between 302.5 nm and 700 µm.The laser radiation is potentially hazardous to the eyes. A risk assessment is required for operation. Users must be instructed annually and a laser protection officer must be appointed. In addition, the laser area must be marked accordingly and access must be restricted to authorized persons. Depending on the results of the risk assessment, additional protective measures, e.g., wearing laser safety goggles, may be required.Suitable for larger working distances or dark materials.
Laser class 3BClass 3B lasers have a power of 5 to 500 mW and operate in the wavelength range of 302.5 nm to 1 µm.The laser radiation is hazardous to the eyes and possibly also the skin. A risk assessment is absolutely necessary for operation. In addition, users must be instructed annually, a laser protection officer must be appointed, the laser area must be marked, and access must be restricted to authorized persons. The results of the risk assessment determine the necessary protective measures, e.g., wearing laser safety goggles.For particularly demanding environments with difficult surfaces or high ambient brightness.

Safety Features for Higher Laser Classes

For industrial applications with laser classes 3R and 3B, wenglor offers the powerful 2D/3D profile sensors from its MLSL2xxS40 series. These sensors have a built-in laser shut-off that deactivates the laser beam when predefined safety-related conditions are met. The sensor remains in operation when this occurs. This technology meets the requirements of safety standard EN ISO 13849–1:2016 and ensures maximum safety in industrial environments. In combination with the appropriate wenglor safety technology, this means holistic safety solutions for your machines and systems.

 

Integrated Camera in Detail

The camera integrated into the 2D/3D profile sensor is a key component of the optical triangulation principle and ensures precise detection of the projected laser line. The camera essentially consists of two key components: the lens and the camera chip, also known as the image sensor.

Camera Chip

The camera chip converts the incoming light into electrical signals, which are then used to generate digital image information. The size and resolution of the chip affect the measurement detail and precision.

Lens

The lens combines the light and focuses it onto the camera chip. The focal length of the lens has a significant influence on the image section and depth of focus.

Optics and Image Chip – Influence on Measuring Range and Accuracy

The combination of optics and image chip is crucial for the accuracy and measuring range of the sensor. 2D/3D profile sensors can detect smaller details or cover larger areas, depending on the interplay of focal length, sensor size and resolution. Both components are critical to the accuracy and measuring range of the sensor.

Mechanically coupling the sensor housing and precise alignment to the laser module ensure reliable image acquisition without further adjustment being necessary.

Sensor Field of View

The position at which the reflected laser line is projected onto the CMOS (complementary metal-oxide semiconductor) sensor depends directly on the distance to the object. As the distance increases, the position of the laser line on the CMOS chip (1) changes vertically, allowing height information to be captured.

The different measuring ranges of 2D/3D profile sensors are due to the mechanical format, triangulation angle and respective optics used. The lens systems used determine the field of view of the sensor via their focal length, which is trapezoidal due to the triangulating measuring principle.

The measuring range (2) is divided into three zones – start (3), middle (4) and end (5) – whereby the lateral resolution (x) changes over the depth (z).

At the beginning of the measuring range, the x-resolution is highest due to the smaller optical expansion of the field of view. Eventually, it decreases as larger areas of the object are imaged on the CMOS sensor with a constant number of pixels. This results in a variable lateral resolution, which is specified in the data sheet as a range value.

From an optical perspective, the middle range of the measuring volume provides the best measurement results, as this achieves an optimal compromise between depth of field, focus quality and geometric mapping. 2D/3D profile sensors should therefore be aligned so that the object to be measured is as close as possible to the middle of the specified measuring range.

Camera Image

The camera uses a light-sensitive CMOS sensor consisting of a matrix of pixels. These are arranged in horizontal rows (x) and vertical columns (y). If the laser line hits an object, its reflection is projected onto the CMOS chip by the camera optics. The vertical position of the light intensity in each column (y) provides the respective height information (z) along the profile axis (x). This creates an exact 2D height profile with precise z-resolution.

Camera Image

Camera Image with CMOS Grid and Rows (x) and Columns (y)

What Is the Resolution of a 2D/3D Profile Sensor?

The resolution of a 2D/3D profile sensor is determined by the field of view and the number of pixels of the integrated CMOS sensor.

  • The x-resolution of the sensor is determined by the number of horizontal pixels on the image chip, i.e., the resolution per line. 
  • The z-resolution of the sensor is determined by the number of vertical pixels on the image chip, i.e., the resolution per column.
  • The y-resolution of the sensor indicates the number of profiles per unit length. It does not depend directly on the image chip, but on the relative movement between the 2D/3D profile sensor and object as well as on the sensor’s measurement frequency. A higher measurement frequency with a constant motion speed results in a denser profile recording along the direction of motion and thus a better y-resolution.

More Precision Thanks to Sub-Pixel Technology

Thanks to sub-pixel technology, 2D/3D profile sensors achieve a z-resolution that is many times finer than the size of a single camera pixel. This is because the position of the laser line is determined accurately within one pixel. Instead of simply interpreting the line as one pixel, its brightness gradient is measured over several pixels. Mathematical algorithms can be used to calculate the exact center point, often with fractions of a pixel. For example, a position such as 237.42 can be measured instead of pixel 237. This technology makes even the smallest differences in height visible.

How Does the Field of View Affect the Resolution?

Large Field of View

With a large field of view, the existing pixels are distributed over a larger area. The spatial resolution per pixel decreases, making smaller details more difficult to detect.

Small Field of View

A smaller field of view results in a higher resolution because each pixel covers a smaller area in the sensor’s visual field. Finer structures and details can thus be captured.

How Do the Camera Image and Pixels Become a 2D Height Profile?

The FPGA processor integrated into the 2D/3D profile sensor calculates the entire profile in real time. It analyzes the laser line images captured by the CMOS sensor, extracts the relevant pixels and determines their precise position. This data is converted into a 2D height profile that shows both the lateral (x) and vertical (z) structure of the object along the profile axis. The generated profile data can be used immediately for downstream evaluation or further processing in automation and quality control processes.

Camera Image with CMOS Grid and Rows (x) and Columns (y)

Perfil de altura 2D

De píxeles a milímetros

Para convertir los píxeles registrados por el sensor CMOS en coordenadas métricas precisas, cada sensor de perfiles 2D/3D se linealiza de fábrica. Dentro de este procedimiento, el sensor se monta sobre una mesa de linealización de alta precisión y se alinea exactamente con un objeto de referencia calibrado. La linealización se realiza en todo el rango de medición y determina la desviación entre las coordenadas de píxeles realmente detectadas y los datos métricos en milímetros.

Los datos de corrección resultantes se almacenan permanentemente en el sensor como matriz de linealización. Esta compensación garantiza una salida fiable de valores absolutos de altura y posición en milímetros y garantiza que cada sensor pueda utilizarse directamente en entornos industriales exigentes sin necesidad de calibración adicional.

Resolución y exactitud de los sensores de perfiles 2D/3D

Resolución

La resolución define la diferencia física más pequeña que un sensor es capaz de detectar y diferenciar claramente como valor de medición. Por tanto, determina el tamaño mínimo de muestreo con el que se registran los cambios en la señal de medición.

Para que una característica pueda detectarse de forma fiable, lo ideal es que sea al menos cinco veces mayor que la resolución del sensor. De ese modo se garantiza que haya suficientes puntos de imagen disponibles para capturar la característica de forma clara y segura.

 

Exactitud

Sin embargo, la precisión de medida no depende únicamente de la resolución. También depende de diversos factores externos, como las propiedades ópticas y físicas del objeto de medición, el comportamiento de reflexión, la influencia de la luz externa, las fluctuaciones de temperatura, las vibraciones mecánicas, el tipo de montaje y los algoritmos de evaluación utilizados. La precisión es el resultado de la combinación de precisión (reproducibilidad en las mismas condiciones) y exactitud (desviación del valor de medición del valor de referencia real) y, por lo tanto, describe lo fiable y correcto que el sensor a la hora de representa el objeto real.

Parámetros para optimizar la captura de imágenes

Tasa de fotogramas
La tasa de fotogramas indica cuántas imágenes individuales se capturan por período de tiempo.
Región de interés (ROI)

La región de interés determina qué sección del campo visual se utiliza para la evaluación o medición.

Submuestreo
El submuestreo reduce el número de píxeles leídos para reducir la cantidad de datos o aumentar la velocidad.

Tasa de fotogramas

La cámara CMOS del sensor de perfiles 2D/3D es decisiva para la velocidad de medición que se puede alcanzar. Su tasa de fotogramas, también conocida como frecuencia de imagen, indica cuántas imágenes individuales puede capturar la cámara por segundo. Se indica en fotogramas por segundo (fps) o en hercios (Hz).

Dado que cada imagen capturada representa un perfil de altura completo, la tasa de fotogramas de la cámara equivale directamente al número de perfiles de medición por segundo. Una elevada tasa de fotogramas permite, por tanto, una frecuencia de perfil correspondientemente alta.

Cámara CMOSSensor de perfiles 2D/3D
Fotogramas por segundo (fps)Perfiles por segundo (Hz)
500 fps500 perfiles por segundo o 500 Hz

Región de interés (ROI)

En aplicaciones de alta velocidad, el aprovechamiento completo del campo visual máximo de un sensor de perfiles 2D/3D puede limitar la frecuencia de medición alcanzable. Para contrarrestar esto, el área de la imagen que se va a evaluar se puede limitar específicamente a una denominada región de interés (ROI). La ROI define el recorte activo del sensor CMOS , que se utilizará para la evaluación de la triangulación y que se puede parametrizar libremente tanto en dirección lateral (x) como en dirección de profundidad (z). Las áreas de la imagen fuera de la ROI definida no se leen, y no se incluyen en la captura de imagen ni en el cálculo de los perfiles.

La reducción de la ROI no modifica la resolución óptica, sino que solo minimiza el número de líneas o columnas de píxeles que se deben leer. Esto se traduce en un aumento significativo de la frecuencia de medición, ya que se procesan menos datos de imagen. La adaptación específica de la ROI a las áreas del objeto relevantes para la aplicación permite una adquisición de datos optimizada, a la vez que se maximiza la velocidad del proceso. En estos casos aplicará: tan pequeño como sea posible, tan grande como sea necesario.

En la animación, todo el campo visual del sensor está marcado con un marco azul. El marco verde muestra la ROI; es decir, el área limitada de la imagen. Especialmente en el caso de objetos más pequeños, es conveniente limitar el campo visual para lograr una mejor frecuencia de medición.

Submuestreo

En el submuestreo, el sensor de imagen CMOS no se lee con la máxima resolución, sino que solo se capturan píxeles seleccionados a intervalos definidos, por ejemplo, cada segunda o tercera fila (vertical) o columna (horizontal). Esta reducción sistemática de los píxeles que se pueden leer disminuye considerablemente la velocidad de transmisión de datos, lo que permite acelerar la captura de imágenes y aumentar la frecuencia de medición. Mediante el submuestreo se reduce específicamente la resolución lateral (x) y/o la resolución de altura (z) sin afectar a la veracidad geométrica de los perfiles registrados.
Así pues, el submuestreo es especialmente ventajoso cuando no se requiere una profundidad de detalle completa o solo se necesita información de contorno aproximada, por ejemplo, para preselecciones rápidas o para la detección de posiciones en aplicaciones de alta velocidad.
 

Figura 1: sin submuestreo
Figura 2: con submuestreo

Combinación con la ROI para lograr un rendimiento máximo

La velocidad de medición más alta se alcanza cuando se combina el submuestreo con una restricción específica del campo visual. Al limitar la ROI a un área parcial relevante de la cámara integrada, tanto en la dirección x como en la dirección z, solo se capturan y procesan los píxeles del rango de medición definido.

La combinación de ROI y submuestreo permite velocidades de perfil muy altas con una cantidad de datos reducida. Esto es especialmente beneficioso para aplicaciones en las que el tiempo es un factor crítico y la velocidad y la eficiencia son fundamentales.

Comparación de los ajustes de región de interés y submuestreo

ModoCantidad de píxeles leídosRango de mediciónResoluciónVelocidad de mediciónEscenario de uso
Imagen completaTodos los píxeles (ROI completa)Rango completoMáxima resolución de los detallesBaja a mediaMediciones precisas que requieren toda la información de la imagen
ROISubárea (definida)ReducidaSin cambios en el área activaMedia a altaMedición centrada en áreas relevantes del objeto
SubmuestreoSolo cada píxel número nRango completoResolución reducidaAltoMedición aproximada, orientación rápida, comprobación previa
ROI + submuestreoPocos píxeles seleccionadosReducidaResolución reducida en la ROIMuy elevadaAplicaciones altamente dinámicas con un área objetivo claramente definida

Módulo de análisis al detalle

El módulo de análisis del sensor de perfiles 2D/3D procesa perfiles a lo largo de una cadena de procesamiento de señales optimizada. Tras el registro de la línea láser mediante el chip de imagen CMOS y el cálculo de perfiles en tiempo real, así como la calibración en el FPGA, la CPU se encarga de la evaluación central de los perfiles. Esto se puede hacer en los dos modos de funcionamiento “Sensor de perfil inteligente” o “Generador de perfiles”.

Sensor de perfil inteligente

En el modo inteligente, la evaluación se realiza al completo directamente en el propio sensor de perfiles 2D/3D. El software para visión artificial se ejecuta en el sensor, y procesa los datos de perfil registrados. De este modo se calculan los resultados relevantes para la medición, que se pueden proporcionar directamente desde el sensor. Estos resultados, como las desviaciones de altura, los contornos de objetos, la detección de posición o las comparaciones de tolerancias, se envían directamente como valor de medición específico de la aplicación a un PLC, un control de un nivel superior u otros actuadores. No es necesario un procesamiento externo de los datos. Esto reduce la complejidad del sistema y permite una evaluación directa en el dispositivo. Sin embargo, debido a la capacidad de cálculo limitada en el modo inteligente, el rendimiento suele ser inferior a la tasa de perfiles teóricamente posible. Si este es el caso, se recomienda el modo “Generador de perfiles” en combinación con una evaluación externa como, por ejemplo, uniVision.

Generador de perfiles

En el modo “Generador de perfiles”, el sensor solo transmite el perfil 2D (datos en x y z) sin realizar una interpretación directa. A continuación, la evaluación se realiza externamente, ya sea dentro del ecosistema de wenglor, por ejemplo con el software de procesamiento de imágenes wenglor uniVision en un controlador de visión artificial, o a través de un software independiente de terceros en un PC industrial externo. Esta flexibilidad permite realizar evaluaciones complejas, algoritmos personalizados o análisis específicos de la aplicación fuera del sensor, especialmente en el caso de soluciones personalizadas o flujos de trabajo integrados en entornos de software existentes.

Comparación de los modos de funcionamiento de los sensores de perfiles 2D/3D

Interfaces al detalle

¿Qué son las interfaces?

Las interfaces constituyen la base para la comunicación entre sensores, controles y software. Incluyen la conexión física (interfaces de hardware), las reglas de transferencia (protocolos) y las funciones de software (interfaces de software), que garantizan una integración fiable y flexible en los sistemas industriales.

1. Interfaces de hardware: el nivel de conexión física

Las interfaces de hardware establecen la conexión física básica entre el sensor de perfiles 2D/3D, el control, la red y el software. Definen los tipos de conexión eléctrica y mecánica a través de los cuales se transfieren datos y comandos de control. Estas interfaces físicas, como los cables Ethernet, los conectores M12 o las E/S digitales, proporcionan la ruta de transmisión necesaria para una comunicación fiable.

2. Protocolos: el nivel lógico de comunicación

 

Los protocolos definen las reglas y secuencias según las cuales los datos se transfieren a través de las interfaces de hardware. Funcionan como un “lenguaje” común para la comunicación y garantizan que el emisor y el receptor puedan interpretar correctamente los datos. Los protocolos determinan, entre otras cosas, cómo se crean, se direccionan, se envían y se reciben los paquetes de datos. En función de los requisitos de velocidad, fiabilidad y capacidad en tiempo real, se utilizan diferentes tipos de transmisiones.

3. Interfaces de software: el nivel de aplicación

 

Las interfaces de software permiten el control, la configuración y la evaluación de los datos de los sensores a través de sistemas de nivel superior o aplicaciones individuales. Definen los puntos de acceso lógicos y los métodos de comunicación a través de los cuales las soluciones de software pueden acceder a los datos de los sensores o aprovechar las funciones de los sensores. Esto incluye API, servicios web, protocolos de configuración e interfaces estandarizadas que permiten una integración flexible en diferentes entornos de software. Las interfaces de software eliminan la complejidad de la comunicación de datos y, por lo tanto, facilitan la integración en sistemas y soluciones de software individuales.

¿Qué interfaces tienen los sensores de perfiles 2D/3D?

Interfaces de hardware

  • E/S digitales (entrada/salida digital, entradas de codificador)
  • Ethernet

Protocolo

  • TCP/IP
  • UDP/IP
  • GigE Vision

Interfaces de software

  • GigE Vision / API GenICam
  • wenglor uniVision
  • Software Development Kit (SDK)

Ejemplo de interacción de los tres niveles de interfaz

Un sensor de perfiles 2D/3D con interfaz Ethernet establece la conexión con la red o el controlador. A continuación, un protocolo TCP/UDP o GigE Vision controla cómo se transfieren los datos de perfiles o los comandos de control. A través de la interfaz de software se decide cómo se comunica la aplicación con el sensor, cómo se interpretan los resultados o cómo se activan los comandos.

Interfaces de hardware de sensores de perfiles 2D/3D

Interfaces de E/S digitales

Las entradas y salidas digitales permiten el control directo y la sincronización de sensores de perfiles 2D/3D en procesos industriales.

La entrada digital permite la activación precisa en el tiempo de mediciones a través de señales de control externas. Esto es especialmente relevante en procesos basados en cinta o sincronizados. Por ejemplo, la medición puede iniciarse en cuanto un producto alcanza una posición determinada en la cinta transportadora y el sensor recibe la señal correspondiente.

Las salidas digitales sirven para la emisión de señales de sincronización, con el fin de activar de manera precisa varios sensores de perfiles 2D/3D y así permitir mediciones sincronizadas. A través de la salida digital también se pueden transmitir a sistemas externos resultados de evaluación, mensajes de estado o eventos como la detección de piezas buenas o malas.
Las entradas del codificador del sensor de perfiles 2D/3D permiten una medición precisa, adaptada al movimiento real del objeto. Con la ayuda de las señales del codificador de hardware, los movimientos se convierten en posiciones de perfil exactas.

La ventaja de un codificador es que tiene en cuenta automáticamente la velocidad de los objetos en movimiento y ajusta la captura de imágenes en consecuencia. De este modo se crean perfiles de altura uniformes y precisos, incluso con movimientos oscilantes. Por el contrario, un disparo fijo activa la captura de imágenes en un momento constante, independientemente de la velocidad del objeto. Esto, a su vez, puede provocar imprecisiones.

Ejemplo de aplicación con y sin codificador

Sin un codificador, cuando una cinta transportadora se pone en marcha o desacelera, se produce una distorsión visible en los perfiles detectados, ya que la frecuencia de disparo ya no coincide con el movimiento del objeto. Con el codificador, por el contrario, la geometría del perfil siempre es la correcta incluso con velocidades de cinta cambiantes.

Ejemplo de aplicación con codificador

on el codificador, por el contrario, la geometría del perfil siempre es la correcta incluso con velocidades de cinta cambiantes.

Interfaces Ethernet

La interfaz Ethernet (p. ej., a través de RJ45, Gigabit Ethernet) constituye la base para la comunicación entre el sensor y el sistema externo. A través de ellos se transfieren grandes cantidades de datos de los perfiles de altura y también se configura, visualiza, controla y sincroniza el sensor. Según el modo de funcionamiento y el protocolo, se pueden transferir perfiles o resultados ya evaluados.

Ventajas de la conexión basada en Ethernet

Altas velocidades de transferencia de datos para una rápida transferencia de perfiles
Compatibilidad con protocolos estándar como TCP/IP, UDP, GigE Vision, GenICam y PROFINET
Integración sencilla en infraestructuras de red existentes

Resumen de los protocolos e interfaces de software

Los sensores de medición de perfiles 2D/3D están disponibles en los modos de funcionamiento “Sensor de perfil inteligente” y “Generador de perfiles”. Según el modo de funcionamiento seleccionado, se puede seleccionar la interfaz de comunicación adecuada. De este modo, las soluciones a partir de sensores se pueden adaptar específicamente a los conceptos de control, flujos de datos y requisitos en tiempo real de la aplicación correspondiente.

Sensor de perfil inteligente

En este modo, la evaluación se realiza de forma completa directamente en el sensor. La comunicación con el controlador suele realizarse a través de salidas digitales o Ethernet (TCP). Debido a que la evaluación está integrada, este modo es especialmente eficiente en términos de espacio y costes, pero la capacidad de cálculo es limitada. No es posible combinar varios sensores en modo inteligente. La evaluación se realiza siempre por sensor en el respectivo rango de medición. No es posible realizar una medición continua y coherente en varios sensores.

Generador de perfiles

En este modo, el sensor actúa como un potente “proveedor de perfiles” y transfiere los perfiles 2D generados a un PC industrial externo a través de interfaces estandarizadas o de un SDK. Allí se procesan los perfiles con ayuda de un software de procesamiento de imágenes. Este modo ofrece la máxima flexibilidad, escalabilidad y rendimiento. Así, por ejemplo, es posible sincronizar varios sensores y evaluarlos de forma centralizada.

Detección integral de perfiles con VisionApp 360

Con ayuda del software VisionApp 360, se pueden combinar varios sensores de perfiles 2D/3D para crear un perfil de altura 2D común a partir de mediciones individuales. Para ello, los sensores se alinean y calibran entre sí en el espacio, de modo que sus sistemas de coordenadas individuales se convierten en un sistema de coordenadas unificado de nivel superior. En el siguiente paso, los perfiles individuales registrados de los sensores se combinan para formar un perfil general coherente. A continuación, estará disponible para otras etapas del procesamiento.

Interfaces típicas y su aplicación en función del modo de funcionamiento

Interfaces estándar para la máxima compatibilidad

Integración independiente del fabricante

Los dispositivos de diferentes proveedores se integran a la perfección en un sistema común.

Compatibilidad del software

Los sensores de perfiles 2D/3D se pueden conectar directamente con las soluciones de software habituales.

Protección de su inversión

La compatibilidad con las bibliotecas de procesamiento de imágenes y los componentes de hardware establecidos garantiza el uso a largo plazo de los sistemas existentes.

Seguridad futura

El desarrollo continuo de los estándares facilita la ampliación de los sistemas existentes.

Máximo control con SDK específicos del fabricante

Rendimiento óptimo gracias a la conexión nativa

Gracias a la programación directa sin niveles intermedios estandarizados, los procesos se pueden implantar de forma mucho más eficiente y ahorrando recursos. Esto resulta especialmente ventajoso con altas tasas de fotogramas o grandes cantidades de datos.

Integración individual en el propio entorno de software

Los SDK ofrecen API para diferentes lenguajes de programación (por ejemplo, C++, C# o Python), lo que permite una integración completa con software personalizado, interfaces de usuario gráficas (GUI) o entornos de control.

Rápido desarrollo con código de muestra y herramientas

Los SDK modernos contienen ejemplos prácticos de códigos, bibliotecas y herramientas de depuración que aceleran el desarrollo y facilitan la puesta en marcha.

Comparación: Interfaces estándar frente a SDK/API específicos del fabricante

CaracterísticaInterfaces estándarSDK / API específico del fabricante
CompatibilidadAlta (para todos los equipos, sin importar el fabricante)Solo se puede utilizar con dispositivos del mismo fabricante
Costes de integraciónBajos: gracias a la estandarizaciónSuperiores, requiere conocimientos de la arquitectura específica del fabricante
Flexibilidad / funcionesLimitado a funciones estandarizadas*Muy alto: acceso a funciones más profundas y parametrización
Viabilidad futura/mantenimientoBuena disponibilidad a largo plazo gracias a la estandarizaciónDepende del soporte del fabricante y del mantenimiento del software

* Incluso dentro de interfaces estandarizadas se pueden integrar funciones específicas de la aplicación. Esto permite realizar personalizaciones sin comprometer la compatibilidad con los sistemas o protocolos existentes.

¿Cuándo se deben seleccionar interfaces estándar o SDK/API específicas del fabricante?

  • Las interfaces estándar son ideales para una integración sencilla, una alta compatibilidad y la conexión a soluciones de software existentes de terceros.

  • El SDK es la elección correcta cuando se requiere el máximo control, personalización o funciones especiales, como por ejemplo el control directo de sensores o el desarrollo de soluciones de software propias.
Product Comparison